from distance import *
def editroute(route):
    for i in range(len(route)-1):
        for j in range(i+1,len(route)-1):
            a=(route[i][0],route[i][1])
            b=(route[j][0],route[j][1])
            if (disp(a,b)<0.01):
               route.remove(route[j])
            else:
               break   
    return route
        
       
